﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BCDto.WxLogin.WebLogin
{
    /// <summary>
    /// 微信登录网页获取Token
    /// </summary>
    public class WxLoginWebAccessTokenDto
    {
        /// <summary>
        /// 已绑定
        /// </summary>
        public bool exists { get; set; }
        /// <summary>
        /// 接口调用凭证
        /// </summary>
        public string access_token { get; set; }
        /// <summary>
        /// access_token接口调用凭证超时时间，单位（秒）
        /// </summary>
        public int expires_in { get; set; }
        /// <summary>
        /// 用户刷新access_token
        /// </summary>
        public string refresh_token { get; set; }
        /// <summary>
        /// 授权用户唯一标识
        /// </summary>
        public string openid { get; set; }
        /// <summary>
        /// 用户授权的作用域，使用逗号（,）分隔
        /// </summary>
        public string scope { get; set; }
        /// <summary>
        /// 微信平台唯一Id
        /// </summary>
        public string unionid { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string Nickname { get; set; }
        /// <summary>
        /// 用户头像
        /// </summary>
        public string Headimgurl { get; set; }
    }
}
